package com.bby.common.model;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;

import java.util.List;
import java.util.Map;

@Data
@ToString
@Accessors(chain = true)
public class UserBusinessInfo {
    @Id
    private String userId;
    private long score;// 积分
    private long storageByte;// 网盘空间，单位byte
    private long storageUse;// 网盘使用量，单位byte
    private String password;// 用户密码
    private List<FavoriteGroup> favorites; // 文件收藏
    private List<UserGroup> userGroups;// 用户组
}
